<!-- File: app/views/m_user/change_pass.ctp -->
<?php
/**** Message ****/
echo $this->Session->flash();
?>

	<?php echo $this->Form->create('MUser',array('onsubmit'=>'return confirm("Are you sure to update this user\'s password?");')); ?>
	<table class="table_multi_fields table mt40 noborder">
		<tr>
			<td class="text-l w150 noborder-t vertical-align">New password</td>
			<td class="text-l noborder-t">
				<?php echo $this->Form->input('MUser.new_password',array('type'=>'password','label'=>'','autocomplete'=>'off','id'=>'new_password','class'=>'form-control top noradius'));?>
			</td>
		</tr>
		<tr>
			<td class="text-l w150 noborder-t vertical-align">Repeat password</td>
			<td class="text-l noborder-t">
				<?php echo $this->Form->input('MUser.re_new_password',array('type'=>'password','label'=>'','autocomplete'=>'off','id'=>'re_new_password','class'=>'form-control top noradius'));?>
			</td>
		</tr>
		<tr>
			<?php echo $this->Form->input('MUser.id',array('type'=>'hidden'));?>	
			<?php echo $this->Form->input('MUser.update_time',array('type'=>'hidden','value'=>date('Y-m-d H:i:s')));?>
			<?php echo $this->Form->input('MUser.updator', array('type' => 'hidden','value'=>$Usersuser_name)); ?>
		<td class="text-l w30 noborder-t"></td></tr>
		
  	</table> 
	
	<div class="clearfix"></div>
	<div class="text-c mt30 display-in">
		<?php echo $this->Form->submit('Update',array('class'=>'btn-lg noradius btn-nocolor nodecor','name' => 'create'));?>
		<?php //echo $this->Html->link('Cancel',array('controller' => 'm_users', 'action' => 'edit',),array('escape' => FALSE,'class'=>'nodecor'));?>
	</div>





